#!/usr/bin/env node

const Router = require('koa-router'),
  county = require('../models/county_mod'),
  sj = require('silly-datetime'),
  image = require('../models/image_mod.js'),
  router = new Router;
router.prefix('/api/county');


router.get('/', async (ctx, next) => {
  let res = await county.County_gets();

  ctx.body = res;
})

module.exports = router;
